let HtmlWebpackPlugin = require("html-webpack-plugin");
module.exports = {
    mode: "none",
    stats: 'none',
    devtool: 'source-map',
    plugins: [new HtmlWebpackPlugin()],
    module: {
        rules: [
            {
                test: /\.m?js$/,
                exclude: /(node_modules|bower_components)/,
                use: {
                    loader: 'babel-loader',
                    options: {
                        presets: ['@babel/preset-env'],
                        plugins: ['@babel/plugin-proposal-class-properties']
                    }
                }
            }
        ]
    }
};
